function [color] = get_a_new_color()
% Returns a different color each time is called
% Usage:
%   color = get_a_new_color();


%% Initialization
global A_NEW_COLOR_INDEX;
if isempty(A_NEW_COLOR_INDEX) 
    A_NEW_COLOR_INDEX =1;
end
colors = ['r','g', 'b','c','m','y', 'k'];

if (A_NEW_COLOR_INDEX > length(colors) )
    A_NEW_COLOR_INDEX = 1;
end

%% Obtain new color
color = colors(A_NEW_COLOR_INDEX);
A_NEW_COLOR_INDEX = A_NEW_COLOR_INDEX + 1;

%color = [1, 0.5, 0]
%color =[1, 0.4, 0.6]; [255/255, 140/255, 0]


